package com.bootdo.wx.service.impl;

import com.bootdo.wx.dao.GoodsTypeParamsDao;
import com.bootdo.wx.domain.GoodsTypeParamsDO;
import com.bootdo.wx.service.GoodsTypeParamsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class GoodsTypeParamsServiceImpl implements GoodsTypeParamsService {
	@Autowired
	private GoodsTypeParamsDao goodsTypeParamsDao;
	
	@Override
	public GoodsTypeParamsDO get(String id){
		return goodsTypeParamsDao.get(id);
	}
	
	@Override
	public List<GoodsTypeParamsDO> list(Map<String, Object> map){
		return goodsTypeParamsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return goodsTypeParamsDao.count(map);
	}
	
	@Override
	public int save(GoodsTypeParamsDO goodsTypeParams){
		return goodsTypeParamsDao.save(goodsTypeParams);
	}
	
	@Override
	public int update(GoodsTypeParamsDO goodsTypeParams){
		return goodsTypeParamsDao.update(goodsTypeParams);
	}
	
	@Override
	public int remove(String id){
		return goodsTypeParamsDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return goodsTypeParamsDao.batchRemove(ids);
	}
	
}
